import pytest
import os,sys

base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print("我猜在这里")
sys.path.insert(0,base_dir)
print("应该就是这里")
from TongYong.Db_created import Db_created
print("这里吗?")
@pytest.fixture(scope="session")
def mysql_connect():
    print("diaoyong MYSQL")
    mysql_result = Db_created().mysql_created(data_type=2)
    return mysql_result

@pytest.fixture(scope="session")
def redis_connect():
    print("redis连接！！！！")
    redis_result = Db_created().redis_created()
    return redis_result


